package com.zhentao.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName s_answer
 */
@TableName(value ="s_answer")
@Data
public class SAnswer implements Serializable {
    /**
     * 答题卡主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 学生外键
     */
    @TableField(value = "u_id")
    private Integer uId;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 修改时间
     */
    @TableField(value = "update_time")
    private Date updateTime;

    /**
     * 试卷外键
     */
    @TableField(value = "testinfo_id")
    private Integer testinfoId;

    /**
     * 成绩
     */
    @TableField(value = "scope")
    private Integer scope;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}